home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0"; "COMCTL32.OCX"
- Begin VB.Form Form1
- ClientHeight = 4245
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 7620
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = -1 'True
- Italic = -1 'True
- Strikethrough = -1 'True
- EndProperty
- ScaleHeight = 4245
- ScaleWidth = 7620
- StartUpPosition = 1 'CenterOwner
- WindowState = 2 'Maximized
- Begin ComctlLib.Toolbar Toolbar1
- Height = 390
- Left = 200
- TabIndex = 0
- Top = 0
- Width = 7620
- _ExtentX = 13441
- _ExtentY = 688
- ButtonWidth = 635
- ButtonHeight = 582
- AllowCustomize = 0 'False
- ImageList = "ImageList1"
- _Version = 327682
- BeginProperty Buttons {0713E452-850A-101B-AFC0-4210102A8DA7}
- NumButtons = 11
- BeginProperty Button1 {0713F354-850A-101B-AFC0-4210102A8DA7}
- Key = "a"
- Object.Tag = ""
- ImageIndex = 1
- EndProperty
- BeginProperty Button2 {0713F354-850A-101B-AFC0-4210102A8DA7}
- Key = "b"
- Object.Tag = ""
- ImageIndex = 2
- EndProperty
- BeginProperty Button3 {0713F354-850A-101B-AFC0-4210102A8DA7}
- Key = "c"
- Object.Tag = ""
- ImageIndex = 3
- EndProperty
- BeginProperty Button4 {0713F354-850A-101B-AFC0-4210102A8DA7}
- Key = "sep"
- Object.Tag = ""
- Style = 4
- MixedState = -1 'True
- EndProperty
- BeginProperty Button5 {0713F354-850A-101B-AFC0-4210102A8DA7}
- Key = "d"
- Object.Tag = ""
- ImageIndex = 4
- EndProperty
- BeginProperty Button6 {0713F354-850A-101B-AFC0-4210102A8DA7}
- Key = "e"
- Object.Tag = ""
- ImageIndex = 5
- EndProperty
- BeginProperty Button7 {0713F354-850A-101B-AFC0-4210102A8DA7}
- Key = "f"
- Object.Tag = ""
- ImageIndex = 6
- EndProperty
- BeginProperty Button8 {0713F354-850A-101B-AFC0-4210102A8DA7}
- Key = "sep2"
- Object.Tag = ""
- Style = 4
- MixedState = -1 'True
- EndProperty
- BeginProperty Button9 {0713F354-850A-101B-AFC0-4210102A8DA7}
- Key = "g"
- Object.Tag = ""
- ImageIndex = 7
- EndProperty
- BeginProperty Button10 {0713F354-850A-101B-AFC0-4210102A8DA7}
- Key = "sep3"
- Object.Tag = ""
- Style = 4
- MixedState = -1 'True
- EndProperty
- BeginProperty Button11 {0713F354-850A-101B-AFC0-4210102A8DA7}
- Key = "h"
- Object.Tag = ""
- ImageIndex = 1
- EndProperty
- EndProperty
- End
- Begin VB.TextBox Text1
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 400
- Underline = -1 'True
- Italic = 0 'False
- Strikethrough = -1 'True
- EndProperty
- Height = 3735
- Left = 0
- MultiLine = -1 'True
- ScrollBars = 3 'Both
- TabIndex = 1
- Top = 480
- Width = 7575
- End
- Begin VB.Image Image1
- Height = 360
- Left = 20
- Picture = "frmToolbarTest.frx":0000
- Top = 0
- Width = 195
- End
- Begin VB.Label Label1
- Height = 375
- Left = 200
- TabIndex = 2
- Top = 0
- Width = 7695
- End
- Begin ComctlLib.ImageList ImageList1
- Left = 2400
- Top = 200
- _ExtentX = 1005
- _ExtentY = 1005
- BackColor = -2147483643
- ImageWidth = 16
- ImageHeight = 16
- MaskColor = 12632256
- _Version = 327682
- BeginProperty Images {0713E8C2-850A-101B-AFC0-4210102A8DA7}
- NumListImages = 8
- BeginProperty ListImage1 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
- Picture = "frmToolbarTest.frx":008E
- Key = ""
- EndProperty
- BeginProperty ListImage2 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
- Picture = "frmToolbarTest.frx":03E0
- Key = ""
- EndProperty
- BeginProperty ListImage3 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
- Picture = "frmToolbarTest.frx":0732
- Key = ""
- EndProperty
- BeginProperty ListImage4 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
- Picture = "frmToolbarTest.frx":0A84
- Key = ""
- EndProperty
- BeginProperty ListImage5 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
- Picture = "frmToolbarTest.frx":0DD6
- Key = ""
- EndProperty
- BeginProperty ListImage6 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
- Picture = "frmToolbarTest.frx":1128
- Key = ""
- EndProperty
- BeginProperty ListImage7 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
- Picture = "frmToolbarTest.frx":147A
- Key = ""
- EndProperty
- BeginProperty ListImage8 {0713E8C3-850A-101B-AFC0-4210102A8DA7}
- Picture = "frmToolbarTest.frx":17CC
- Key = ""
- EndProperty
- EndProperty
- End
- Begin VB.Menu mnufile
- Caption = "File"
- Begin VB.Menu mnufileopen
- Caption = "Open"
- End
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Form_DragDrop(Source As Control, X As Single, Y As Single)
- ' When user drags and drops toolbar we load frmToolbar
- Image1.Visible = False
- Toolbar1.Visible = False
- frmToolbar.Visible = True
- Text1.Move 0, 0, ScaleWidth, ScaleHeight
- turk = 1
- Form_Resize
- End Sub
- Private Sub Form_GotFocus()
- Form_Resize
- End Sub
- Private Sub Form_Load()
- Form_Resize
- End Sub
- Private Sub Form_Resize()
- If Form1.WindowState = 1 Then
- Exit Sub
- End If
- If turk = 1 Then
- Text1.Move 0, 0, ScaleWidth, ScaleHeight
- Toolbar1.Move 200, 0, ScaleWidth, ScaleHeight - 250
- Label1.Move 200, 0, ScaleWidth, ScaleHeight - 250
- Exit Sub
- End If
- If turk = 0 Then
- Text1.Move 0, 400, ScaleWidth, ScaleHeight - 400
- Toolbar1.Move 200, 0, ScaleWidth, ScaleHeight - 250
- Label1.Move 200, 0, ScaleWidth, ScaleHeight - 250
- Exit Sub
- End If
- End Sub
- Private Sub Form_Unload(Cancel As Integer)
- Unload frmToolbar
- End Sub
- Private Sub Image1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- Toolbar1.Drag
- End Sub
- Private Sub Label1_DragDrop(Source As Control, X As Single, Y As Single)
- ' When user drags and drops toolbar we load frmToolbar
- frmToolbar.Visible = False
- Toolbar1.Visible = True
- Image1.Visible = True
- turk = 0
- Form_Resize
- End Sub
- Private Sub Text1_DragDrop(Source As Control, X As Single, Y As Single)
- ' When user drags and drops toolbar we load frmToolbar
- Image1.Visible = False
- Toolbar1.Visible = False
- frmToolbar.Visible = True
- turk = 1
- Form_Resize
- End Sub
- Private Sub Toolbar1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
- Toolbar1.Drag ' Enables user to drag toolbar1
- End Sub
-